package com.hunliji.monitor.share.enums;

/**
 * File：AlertTypeEnum.java<br> Title: <br> Description: <br>
 *
 * @author lejin
 */
public enum AlertTypeEnum {

    SLS_ALERT("sls_alert", "由告警监控规则触发的告警"),
    SLS_PUB("sls_pub", "来自于开放告警的告警"),
    SLS_ML("sls_ml", "由智能巡检触发的告警"),
    ;

    private final String code;
    private final String msg;

    AlertTypeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
